﻿using System.ServiceProcess;
using Baby.VideoConvertor;

namespace Baby.VideoService
{
    public partial class VideoService : ServiceBase
    {
        public VideoService()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            FileWatcher.Begin();
        }

        protected override void OnStop()
        {
            FileWatcher.Stop();
        }
    }
}
